package dreamdancetiktokenumsmymongo

const (
	DanceHostBuffoonStatusNotUse   = 0 //未使用
	DanceHostBuffoonStatusUseDoing = 1 //使用中
	DanceHostBuffoonStatusUseEnd   = 2 //使用结束
)

type DanceHostBuffoonEnums struct {
}

var DanceHostBuffoonEnumsObject DanceHostBuffoonEnums

func (e DanceRoomModelMarryLogEnums) Status() []int {
	return []int{
		DanceHostBuffoonStatusNotUse,
		DanceHostBuffoonStatusUseDoing,
		DanceHostBuffoonStatusUseEnd,
	}
}

func (e DanceRoomModelMarryLogEnums) StatusMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.LogType() {
		m[s] = s
	}
	return m
}

func (e DanceRoomModelMarryLogEnums) StatusString(tag int) string {
	switch tag {
	case DanceHostBuffoonStatusNotUse:
		return "未使用"
	case DanceHostBuffoonStatusUseDoing:
		return "使用中"
	case DanceHostBuffoonStatusUseEnd:
		return "已使用"
	default:
		return "未知"
	}
}
